<style>
.ajax_screen{cursor: pointer;}
</style>

<div class="sort-inner clearfix">
              <div class="sort-left">
                  <span {empty name="tag"} class="current" {/empty} data-id='0'>全部</span>
                  {foreach name="tag_list" item='vo'}
                  <span data-id='tag_{$vo.tagid}' {if condition="$vo.tagid eq $tag"}  class='current' {/if}>{$vo.tagname}</span>
                  {/foreach}
              </div>
              <div class="sort-total">共{$data_count}件</div>
          </div>
          <div class="goods-product">
              <ul class="clearfix">
                {foreach name='data_list' item='vo'}
                  <li>
                      <a href="{:url('goods_detail',['id' => $vo['classid'], 'type' => $vo['type']])}">
                          <div class="goods-img"><img src="{$vo.thumb}" /></div>
                          <div style="text-overflow: -o-ellipsis-lastline;overflow: hidden;text-overflow: ellipsis;display: -webkit-box;-webkit-line-clamp: 1;-webkit-box-orient: vertical;">{$vo.classname}</div>
                          <div>款号：{$vo.artno}</div>
                          <div>
                          {foreach name='vo.tag' item='co'}                         
                          {if condition="$co.show eq 2"}
                          <span>{$co.tagname}</span>
                          {/if}
                          {/foreach}
                          </div>
                          
                          {foreach name='vo.tag' item='co'}
                          {if condition="$co.show eq 1"}
                          <div class="goods-sign">{$co.tagname}</div>
                          {/if}
                          {/foreach}

                      </a>
                  </li>
                {/foreach}
              </ul>

              <div class="pager">
                  {if condition="$data_page->lastPage() gt 1"}
                  <a href="{:url('product/screen')}?page=1" class="ajax_screen" title="First page">首页</a>
                  {$data_page->render()}
                  <a href="{:url('product/screen')}?page={$data_page->lastPage()}" class="ajax_screen" >末页</a>
                  {/if}
                <!--   {$page} -->
              </div>
          </div>